﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Dogs.Business
{
    public class IdGenerator
    {
        private long _id = 100;

        public IdGenerator()
        {
            _id = AnimalsHolder.Size;
            _id += 100;
        }

        public long GetNewId() {
            return _id++;
        }

        public long GetId()
        {
            return _id;
        }

    }
}
